public class FrenchFactory extends Factory{
private static FrenchFactory INSTANCE;
private FrenchFactory()
{

}
public static FrenchFactory getInstance()
{
	if(INSTANCE==null)
	{
		INSTANCE=new FrenchFactory();
	}
	return INSTANCE;
}
public Date genDate(int m,int d,int y){
	return new FrenchDate(m,d,y);
}
public Address getAddress(int nr , String sNname,String town,int code)
{
	return new FrenchAddress(nr, sNname , code , town);
}
public PhoneNumber getPhoneNumber(String p)
{
	return new FrenchPhoneNumber(p);
}

}

